import 'package:flutter/material.dart';

void main() => runApp(new Page());

class Page extends StatelessWidget{
  @override
  Widget build(BuildContext context) {

    return _buildRoot();
  }

  Widget _buildRoot() {
    return new DefaultTabController(length: 2, child: new Scaffold(appBar: new AppBar(
      bottom: new TabBar(tabs: <Widget>[new Tab(text: '热门风格',),new Tab(text: '热门风格',)],),),
      body: new Text('sfnig'),));
  }
}